package com.kingmed.kmss.admin.modules.ums.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * EHR员工表(数据中台接口)
 * </p>
 *
 * @author WYL
 * @since 2022-12-29
 */
@Getter
@Setter
@TableName("ums_hr_employee")
@ApiModel(value = "UmsHrEmployee对象", description = "EHR员工表(数据中台接口)")
public class UmsHrEmployee implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "fid", type = IdType.INPUT)
    @ApiModelProperty("ID（ehr系统）")
    private String fid;

    @ApiModelProperty("部门ID（ehr系统）")
    private String orgid;

    @ApiModelProperty("部门名称（ehr系统）")
    private String orgname;

    @ApiModelProperty("员工号")
    private String usercode;

    @ApiModelProperty("员工姓名")
    private String username;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("员工账号状态")
    private String empstatus;

    @ApiModelProperty("hr系统创建时间")
    private Date createtime;

    @ApiModelProperty("hr系统更新时间")
    private Date lastmodifiedtime;

    @ApiModelProperty("直属上级员工号")
    private String managercode;

    @ApiModelProperty("所有直属上级员工号")
    private String managerscode;
}
